package com.fenghongzhang.broadcasttest;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.widget.TextView;

public class Main7Activity extends AppCompatActivity {
    private TextView value7;

    private MyReceiver2 myReceiver2;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main7);


        value7 = (TextView) findViewById(R.id.value7);

        Intent intent = getIntent();
        String name = intent.getStringExtra("name");
        value7.setText(name);

    }
}
